package com.example.mybatisdemo1.pojo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 25688
 **/

public class SysUsers {
    private Integer id;
    private Integer departmentId;
    private Integer userType;
    private String headurl;
    private String account;
    private String username;
    private String password;
    private String salt;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private Integer createduserId;
    private List<SysUsersVO> sysUsersVOList;
    private List<DepartmentVO> departmentVOList;

    public SysUsers(String username, Integer userType, Integer departmentId) {
        this.username = username;
        this.userType = userType;
        this.departmentId = departmentId;
    }

    @Override
    public String toString() {
        return "SysUsers{" +
                "id=" + id +
                ", departmentId=" + departmentId +
                ", userType=" + userType +
                ", headurl='" + headurl + '\'' +
                ", account='" + account + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                ", createduserId=" + createduserId +
                ", sysUsersVOList=" + sysUsersVOList +
                ", departmentVOList=" + departmentVOList +
                '}';
    }

    public List<DepartmentVO> getDepartmentVOList() {
        return departmentVOList;
    }

    public void setDepartmentVOList(List<DepartmentVO> departmentVOList) {
        this.departmentVOList = departmentVOList;
    }

    public List<SysUsersVO> getSysUsersVOList() {
        return sysUsersVOList;
    }

    public void setSysUsersVOList(List<SysUsersVO> sysUsersVOList) {
        this.sysUsersVOList = sysUsersVOList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getHeadurl() {
        return headurl;
    }

    public void setHeadurl(String headurl) {
        this.headurl = headurl;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getCreateduserId() {
        return createduserId;
    }

    public void setCreateduserId(Integer createduserId) {
        this.createduserId = createduserId;
    }
}
